/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.garethc.creational.builder;

import com.garethc.creational.builder.factory.MealBuilder;
import com.garethc.creational.builder.model.MealOrder;

/**
 *
 * @author 210053429
 */
public class DriverMain {
    public static void main(String[] args) {
        MealOrder meal = new MealBuilder.Builder("Burger")
                                        .chips("LargeFries")
                                        .drink("SmallCoke")
                                        .build();
        System.out.println("Hello Builder Pattern");
        System.out.println("Order has: " + meal.getBurger());
        System.out.println("Order has: " + meal.getChips());
        System.out.println("Order has: " + meal.getDrink());
        System.out.println("Order has: " + meal.getIceCream());
        System.out.println("Order has: " + meal.getToy());
    }
}
